package com.zg.datapush.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 数据源编码请求
 * @author zg
 */
@Data
@ApiModel(value = "数据源编码请求", description = "数据源编码请求")
public class DatasourceCodeReq {
    
    @NotBlank(message = "数据源编码不能为空")
    @ApiModelProperty(value = "数据源编码", required = true)
    private String code;
}
